﻿using Foundation.Core;
using Microsoft.EntityFrameworkCore;

namespace Foundation.EntityFrameworkCore
{
    public interface IEntityTrackingDbContextContainer : IEntityTrackingContainer, IDisposable
    {
        void AddDbContext(DbContext dbContext);

        void OnSaveChangesFailed(object sender, SaveChangesFailedEventArgs args);
    }
}
